package com.wrial.test.netease_8_8;
/*
 * @Author  Wrial
 * @Date Created in 14:50 2020/8/8
 * @Description
 */

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
       String[] strings = sc.nextLine().split(" ");
        int n = Integer.parseInt(strings[0]);
        HashSet<Integer> set = new HashSet<>();
        for (int i = 1; i <= n; i++) {
            set.add(i);
        }
        List<Integer> list = new ArrayList<>();
        strings = sc.nextLine().split(" ");

    }
}
